Skip to content

GPUCommonDefAPI: add GPUhdii() - #15991

Merged
davidrohr merged 1 commit into
AliceO2Group:devfrom
f3sch:gpu/hdii
Oct 22, 2026
Merged

davidrohr merged 1 commit into
AliceO2Group:devfrom
f3sch:gpu/hdii

Conversation

@f3sch

@f3sch f3sch commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Add variant to force inline on device and host.
Diff is actually just +5 lines but I manually indented the comments.

@f3sch

f3sch commented Oct 20, 2026

Copy link
Copy Markdown
Collaborator Author

@davidrohr I am not sure if I should apply the clang-formatting suggested by CI seems wrong?

@davidrohr

Copy link
Copy Markdown
Collaborator

I don't know why clang-format wants to change something, please just ignore it.

For the new macro: If needed, this is of course fine. Though, in general, I'd like to rather remove variants instead of adding new ones. GPUhdii would be force-inline for host code that drives the GPU. Is there a real use case for this?

@f3sch

f3sch commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator Author

Yes, mostly it is for to force-inline a shared helper on both host and device.

Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
@davidrohr
davidrohr merged commit c06edc8 into AliceO2Group:dev Oct 22, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants